package com.pkk.cloud.support.admin.dto.resp.server;

import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Builder.Default;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 角色资源的简单关系的响应类
 * @author: peikunkun
 * @create: 2020-04-09 21:51
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoleClientResourceSimpeRespDto implements Serializable {

  private static final long serialVersionUID = -1656536068238735903L;


  /**
   * 资源逐渐id
   */
  private Long id;

  /**
   * 是否选中
   */
  @Default
  private boolean checked = Boolean.FALSE;

  /**
   * 资源父id
   */
  private Long resourcePid;

  /**
   * 资源名称
   */
  private String title;

  /**
   * 子菜单
   */
  private List<RoleClientResourceSimpeRespDto> children;


}
